Which one of the following is the core property of Object Oriented Programming ?
-
ক
Encapsulation, polymorphism
-
খ
Encapsulation, inheritance
-
গ
Polymorphism, overloading
-
ঘ
Encapsulation, polymorrphism, and inheritance
Object Oriented Programming Concepts:
Class: Blueprint for creating objects.
Objects: An instance of a class.
Abstraction: Hiding internal details and showing functionality is known as abstraction. For example, phone call. We make a call but don't know the internal processing.
Encapsulation: Binding (or wrapping code) and data together into a single unit is known as encapsulation. For example, Capsule. It is wrapped with different medicines. A java class is the example of encapsulation.
Inheritance: When one object acquires all the properties and behaviours of a parent object or parent class, it is known as inheritance.
Polymorphism: If one task is performed in different ways, it is known as polymorphism. In Java, we use method overloading and method overriding to achieve polymorphism. Another example is: a cat speaks meow, dog barks woof etc.
Related Question
View All-
ক
Object Oriented Programming
-
খ
Open Office Protocol
-
গ
Object Operating Program
-
ঘ
Output Oriented Process
-
ক
Queue
-
খ
Linked List
-
গ
Tree
-
ঘ
Stack
-
ক
চার্লস ব্যাবেজ
-
খ
অ্যাডা লাভলেস
-
গ
স্টিভ জজনিয়াক
-
ঘ
টিমোথি জন বার্নাস লি
-
ক
Memory
-
খ
Programme
-
গ
Chip
-
ঘ
Output device
-
ক
Inheritance
-
খ
Abstraction
-
গ
Polymorphism
-
ঘ
Overloading
-
ক
Pointet, to char
-
খ
Node
-
গ
Pointer to node
-
ঘ
NULL
১ ক্লিকে প্রশ্ন, শীট, সাজেশন ও
অনলাইন পরীক্ষা তৈরির সফটওয়্যার!
শুধু প্রশ্ন সিলেক্ট করুন — প্রশ্নপত্র অটোমেটিক তৈরি!
Related Question
Question Analytics
মোট উত্তরদাতা
জন